package com.atguigu.edupublisher.service.impl;

import com.atguigu.edupublisher.beans.TrafficUvCt;
import com.atguigu.edupublisher.mapper.TrafficStatsMapper;
import com.atguigu.edupublisher.service.TrafficStatsService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @ClassName TrafficStatsServiceImpl
 * @Description TODO
 * @Author$ 邢家俊
 * @Date 2023-5-8 20:26
 * @Version 1.0
 **/
public class TrafficStatsServiceImpl implements TrafficStatsService {
    @Autowired
    private TrafficStatsMapper trafficStatsMapper ;

    @Override
    public List<TrafficUvCt> getChUvCt(Integer date, Integer limit) {
        return trafficStatsMapper.selectChUvCt(date,limit);
    }
}
